﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true" CodeFile="Gioithieu.aspx.cs" Inherits="Gioithieu" %>
<%@import Namespace="System.Linq" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <Title>Giới thiệu</Title>
    <div id="slider" >
         <div id="post_wrapper" ">
          <div class="post_news" >
         <% 
            
             BieumauDataContext db = new BieumauDataContext();
             tblGioiThieu gt = null;
             try {gt= db.tblGioiThieus.Single(p => p.TheLoai == 1 && p.ViTri == 1); }
             catch
             {
             }
             if (gt != null)
             {
                 Response.Write("<div class='post_content' >" + gt.NoiDung + "</div>");
             }
              %>
              </div>
         </div>
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
</asp:Content>

